Use the surface output event to keep track of the suggested scale value
authorAndreas Pokorny <andreas.pokorny@canonical.com>
Tue, 19 Jul 2016 12:56:34 +0000 (14:56 +0200)
committerWilliam Hua <william.hua@canonical.com>
Wed, 10 Aug 2016 17:36:38 +0000 (13:36 -0400)
commit252ccb846fd94327f75ed25b90d53e427b3b3e50
treec549a5cd1f8c1ce5ad910eddd4cb28947a55f8da
parentbdb77b6cc26b0cf98bbc2afee53ed40fd3e65361
Use the surface output event to keep track of the suggested scale value

The event will be sent when the surface becomes visible on an output. With this change the GdkMirWindowImpl keeps track of the scale value and sends a configure event on change.

Signed-off-by: Andreas Pokorny <andreas.pokorny@canonical.com>
gdk/mir/gdkmir-private.h
gdk/mir/gdkmireventsource.c
gdk/mir/gdkmirwindowimpl.c